package com.fatmeraid.service;

import com.fatmeraid.domain.ProductImage;
import com.fatmeraid.vo.ProductImage.UploadImageVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ProductImageService {
	// 上传商品图片
	boolean uploadProductImage(UploadImageVo uploadImageVo);

	// 获取商品图片列表
	List<ProductImage> getProductImageList(Long productId);

	// 删除商品图片
	boolean deleteProductImage(Long id);
}
